﻿using System;

namespace 继承_中_01雇员
{
    class Program
    {
        static void Main(string[] args)
        {
            
            Console.WriteLine("---------小叶集团--------");
            Programmer k = new Programmer(2000,1000,"程序员","贵阳花果园","2002-10-23");
            k.Pouts();
            Console.WriteLine("-----------------");
            Programmer i = new Programmer(5000,3000,"高级主管","北京天通范","2005-10-5");
            i.Pouts();
            Console.WriteLine("-----------------");
            secretary l = new secretary("秘书","汤臣一品","2000-02-02",3000);
            l.Souts();
            Console.WriteLine("-----------------");
            secretary p = new secretary("清洁工","老北京四合院","2002-01-01",3000);
            p.Souts();
        }
    }
}
